How to use the RANDBETWEEN() function.





Select the desired cell. Enter =RANDBETWEEN( < smallest number to return > , < largest number to return > ) and press ENTER.

NOTE: The RANDBETWEEN() function returns a random number between two given numbers. For this function to work, the Analysis ToolPak must be installed and enabled.

    1) Select the cell where the result of the RANDBETWEEN() function is to be displayed.
    2) Enter an equal sign and the RANDBETWEEN command:
    =RANDBETWEEN()
    3) Enter the smallest number and the largest number to return within the parentheses of the RANDBETWEEN command.
    NOTE: Separate the numbers with a comma, no spaces.
    EXAMPLE: =RANDBETWEEN(1,100)
    4) Press ENTER.


Knowledge-Pak Desktop Suite (TM) Edition 5
Copyright (c) 1994-1997 by ServiceWare Inc. Subject to the terms set forth in the end-user license agreement. All rights reserved.



2nd Opinion copyright © 1997 by McAfee Associates.
Subject to the terms set forth in the end-user license agreement. All rights reserved.